﻿#pragma once


namespace log4lite {

	/// 比较麻烦，暂不实现

	class LoggerStream
	{
	public:
		LoggerStream(void)
			: _catagory()
		{

		}
		~LoggerStream(void);

	public:
		LoggerStream& operator<< (int rhs)
		{
			_oss << rhs;
			return *this;
		}

		LoggerStream& operator<< (const char* rhs)
		{
			_oss << rhs;
			return *this;
		}

	private:
		std::ostringstream	_oss;
		LogCatagory			_catagory;

	};

} // namespace log